package com.innoking.docsys.doc.example;

import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

public class CmsBorRegisterMasterExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public CmsBorRegisterMasterExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value.getTime()), property);
        }

        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                dateList.add(new java.sql.Date(iter.next().getTime()));
            }
            addCriterion(condition, dateList, property);
        }

        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
        }

        public Criteria andIdIsNull() {
            addCriterion("ID is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("ID is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("ID =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("ID <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("ID >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("ID >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("ID <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("ID <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("ID in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("ID not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("ID between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("ID not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andRegisterNumIsNull() {
            addCriterion("REGISTER_NUM is null");
            return (Criteria) this;
        }

        public Criteria andRegisterNumIsNotNull() {
            addCriterion("REGISTER_NUM is not null");
            return (Criteria) this;
        }

        public Criteria andRegisterNumEqualTo(String value) {
            addCriterion("REGISTER_NUM =", value, "registerNum");
            return (Criteria) this;
        }

        public Criteria andRegisterNumNotEqualTo(String value) {
            addCriterion("REGISTER_NUM <>", value, "registerNum");
            return (Criteria) this;
        }

        public Criteria andRegisterNumGreaterThan(String value) {
            addCriterion("REGISTER_NUM >", value, "registerNum");
            return (Criteria) this;
        }

        public Criteria andRegisterNumGreaterThanOrEqualTo(String value) {
            addCriterion("REGISTER_NUM >=", value, "registerNum");
            return (Criteria) this;
        }

        public Criteria andRegisterNumLessThan(String value) {
            addCriterion("REGISTER_NUM <", value, "registerNum");
            return (Criteria) this;
        }

        public Criteria andRegisterNumLessThanOrEqualTo(String value) {
            addCriterion("REGISTER_NUM <=", value, "registerNum");
            return (Criteria) this;
        }

        public Criteria andRegisterNumLike(String value) {
            addCriterion("REGISTER_NUM like", value, "registerNum");
            return (Criteria) this;
        }

        public Criteria andRegisterNumNotLike(String value) {
            addCriterion("REGISTER_NUM not like", value, "registerNum");
            return (Criteria) this;
        }

        public Criteria andRegisterNumIn(List<String> values) {
            addCriterion("REGISTER_NUM in", values, "registerNum");
            return (Criteria) this;
        }

        public Criteria andRegisterNumNotIn(List<String> values) {
            addCriterion("REGISTER_NUM not in", values, "registerNum");
            return (Criteria) this;
        }

        public Criteria andRegisterNumBetween(String value1, String value2) {
            addCriterion("REGISTER_NUM between", value1, value2, "registerNum");
            return (Criteria) this;
        }

        public Criteria andRegisterNumNotBetween(String value1, String value2) {
            addCriterion("REGISTER_NUM not between", value1, value2, "registerNum");
            return (Criteria) this;
        }

        public Criteria andBorUserIdIsNull() {
            addCriterion("BOR_USER_ID is null");
            return (Criteria) this;
        }

        public Criteria andBorUserIdIsNotNull() {
            addCriterion("BOR_USER_ID is not null");
            return (Criteria) this;
        }

        public Criteria andBorUserIdEqualTo(Long value) {
            addCriterion("BOR_USER_ID =", value, "borUserId");
            return (Criteria) this;
        }

        public Criteria andBorUserIdNotEqualTo(Long value) {
            addCriterion("BOR_USER_ID <>", value, "borUserId");
            return (Criteria) this;
        }

        public Criteria andBorUserIdGreaterThan(Long value) {
            addCriterion("BOR_USER_ID >", value, "borUserId");
            return (Criteria) this;
        }

        public Criteria andBorUserIdGreaterThanOrEqualTo(Long value) {
            addCriterion("BOR_USER_ID >=", value, "borUserId");
            return (Criteria) this;
        }

        public Criteria andBorUserIdLessThan(Long value) {
            addCriterion("BOR_USER_ID <", value, "borUserId");
            return (Criteria) this;
        }

        public Criteria andBorUserIdLessThanOrEqualTo(Long value) {
            addCriterion("BOR_USER_ID <=", value, "borUserId");
            return (Criteria) this;
        }

        public Criteria andBorUserIdIn(List<Long> values) {
            addCriterion("BOR_USER_ID in", values, "borUserId");
            return (Criteria) this;
        }

        public Criteria andBorUserIdNotIn(List<Long> values) {
            addCriterion("BOR_USER_ID not in", values, "borUserId");
            return (Criteria) this;
        }

        public Criteria andBorUserIdBetween(Long value1, Long value2) {
            addCriterion("BOR_USER_ID between", value1, value2, "borUserId");
            return (Criteria) this;
        }

        public Criteria andBorUserIdNotBetween(Long value1, Long value2) {
            addCriterion("BOR_USER_ID not between", value1, value2, "borUserId");
            return (Criteria) this;
        }

        public Criteria andBorDeptIdIsNull() {
            addCriterion("BOR_DEPT_ID is null");
            return (Criteria) this;
        }

        public Criteria andBorDeptIdIsNotNull() {
            addCriterion("BOR_DEPT_ID is not null");
            return (Criteria) this;
        }

        public Criteria andBorDeptIdEqualTo(Long value) {
            addCriterion("BOR_DEPT_ID =", value, "borDeptId");
            return (Criteria) this;
        }

        public Criteria andBorDeptIdNotEqualTo(Long value) {
            addCriterion("BOR_DEPT_ID <>", value, "borDeptId");
            return (Criteria) this;
        }

        public Criteria andBorDeptIdGreaterThan(Long value) {
            addCriterion("BOR_DEPT_ID >", value, "borDeptId");
            return (Criteria) this;
        }

        public Criteria andBorDeptIdGreaterThanOrEqualTo(Long value) {
            addCriterion("BOR_DEPT_ID >=", value, "borDeptId");
            return (Criteria) this;
        }

        public Criteria andBorDeptIdLessThan(Long value) {
            addCriterion("BOR_DEPT_ID <", value, "borDeptId");
            return (Criteria) this;
        }

        public Criteria andBorDeptIdLessThanOrEqualTo(Long value) {
            addCriterion("BOR_DEPT_ID <=", value, "borDeptId");
            return (Criteria) this;
        }

        public Criteria andBorDeptIdIn(List<Long> values) {
            addCriterion("BOR_DEPT_ID in", values, "borDeptId");
            return (Criteria) this;
        }

        public Criteria andBorDeptIdNotIn(List<Long> values) {
            addCriterion("BOR_DEPT_ID not in", values, "borDeptId");
            return (Criteria) this;
        }

        public Criteria andBorDeptIdBetween(Long value1, Long value2) {
            addCriterion("BOR_DEPT_ID between", value1, value2, "borDeptId");
            return (Criteria) this;
        }

        public Criteria andBorDeptIdNotBetween(Long value1, Long value2) {
            addCriterion("BOR_DEPT_ID not between", value1, value2, "borDeptId");
            return (Criteria) this;
        }

        public Criteria andBorDeptDescriptionIsNull() {
            addCriterion("BOR_DEPT_DESCRIPTION is null");
            return (Criteria) this;
        }

        public Criteria andBorDeptDescriptionIsNotNull() {
            addCriterion("BOR_DEPT_DESCRIPTION is not null");
            return (Criteria) this;
        }

        public Criteria andBorDeptDescriptionEqualTo(String value) {
            addCriterion("BOR_DEPT_DESCRIPTION =", value, "borDeptDescription");
            return (Criteria) this;
        }

        public Criteria andBorDeptDescriptionNotEqualTo(String value) {
            addCriterion("BOR_DEPT_DESCRIPTION <>", value, "borDeptDescription");
            return (Criteria) this;
        }

        public Criteria andBorDeptDescriptionGreaterThan(String value) {
            addCriterion("BOR_DEPT_DESCRIPTION >", value, "borDeptDescription");
            return (Criteria) this;
        }

        public Criteria andBorDeptDescriptionGreaterThanOrEqualTo(String value) {
            addCriterion("BOR_DEPT_DESCRIPTION >=", value, "borDeptDescription");
            return (Criteria) this;
        }

        public Criteria andBorDeptDescriptionLessThan(String value) {
            addCriterion("BOR_DEPT_DESCRIPTION <", value, "borDeptDescription");
            return (Criteria) this;
        }

        public Criteria andBorDeptDescriptionLessThanOrEqualTo(String value) {
            addCriterion("BOR_DEPT_DESCRIPTION <=", value, "borDeptDescription");
            return (Criteria) this;
        }

        public Criteria andBorDeptDescriptionLike(String value) {
            addCriterion("BOR_DEPT_DESCRIPTION like", value, "borDeptDescription");
            return (Criteria) this;
        }

        public Criteria andBorDeptDescriptionNotLike(String value) {
            addCriterion("BOR_DEPT_DESCRIPTION not like", value, "borDeptDescription");
            return (Criteria) this;
        }

        public Criteria andBorDeptDescriptionIn(List<String> values) {
            addCriterion("BOR_DEPT_DESCRIPTION in", values, "borDeptDescription");
            return (Criteria) this;
        }

        public Criteria andBorDeptDescriptionNotIn(List<String> values) {
            addCriterion("BOR_DEPT_DESCRIPTION not in", values, "borDeptDescription");
            return (Criteria) this;
        }

        public Criteria andBorDeptDescriptionBetween(String value1, String value2) {
            addCriterion("BOR_DEPT_DESCRIPTION between", value1, value2, "borDeptDescription");
            return (Criteria) this;
        }

        public Criteria andBorDeptDescriptionNotBetween(String value1, String value2) {
            addCriterion("BOR_DEPT_DESCRIPTION not between", value1, value2, "borDeptDescription");
            return (Criteria) this;
        }

        public Criteria andBorTypeIsNull() {
            addCriterion("BOR_TYPE is null");
            return (Criteria) this;
        }

        public Criteria andBorTypeIsNotNull() {
            addCriterion("BOR_TYPE is not null");
            return (Criteria) this;
        }

        public Criteria andBorTypeEqualTo(Long value) {
            addCriterion("BOR_TYPE =", value, "borType");
            return (Criteria) this;
        }

        public Criteria andBorTypeNotEqualTo(Long value) {
            addCriterion("BOR_TYPE <>", value, "borType");
            return (Criteria) this;
        }

        public Criteria andBorTypeGreaterThan(Long value) {
            addCriterion("BOR_TYPE >", value, "borType");
            return (Criteria) this;
        }

        public Criteria andBorTypeGreaterThanOrEqualTo(Long value) {
            addCriterion("BOR_TYPE >=", value, "borType");
            return (Criteria) this;
        }

        public Criteria andBorTypeLessThan(Long value) {
            addCriterion("BOR_TYPE <", value, "borType");
            return (Criteria) this;
        }

        public Criteria andBorTypeLessThanOrEqualTo(Long value) {
            addCriterion("BOR_TYPE <=", value, "borType");
            return (Criteria) this;
        }

        public Criteria andBorTypeIn(List<Long> values) {
            addCriterion("BOR_TYPE in", values, "borType");
            return (Criteria) this;
        }

        public Criteria andBorTypeNotIn(List<Long> values) {
            addCriterion("BOR_TYPE not in", values, "borType");
            return (Criteria) this;
        }

        public Criteria andBorTypeBetween(Long value1, Long value2) {
            addCriterion("BOR_TYPE between", value1, value2, "borType");
            return (Criteria) this;
        }

        public Criteria andBorTypeNotBetween(Long value1, Long value2) {
            addCriterion("BOR_TYPE not between", value1, value2, "borType");
            return (Criteria) this;
        }

        public Criteria andBorPurposeIsNull() {
            addCriterion("BOR_PURPOSE is null");
            return (Criteria) this;
        }

        public Criteria andBorPurposeIsNotNull() {
            addCriterion("BOR_PURPOSE is not null");
            return (Criteria) this;
        }

        public Criteria andBorPurposeEqualTo(String value) {
            addCriterion("BOR_PURPOSE =", value, "borPurpose");
            return (Criteria) this;
        }

        public Criteria andBorPurposeNotEqualTo(String value) {
            addCriterion("BOR_PURPOSE <>", value, "borPurpose");
            return (Criteria) this;
        }

        public Criteria andBorPurposeGreaterThan(String value) {
            addCriterion("BOR_PURPOSE >", value, "borPurpose");
            return (Criteria) this;
        }

        public Criteria andBorPurposeGreaterThanOrEqualTo(String value) {
            addCriterion("BOR_PURPOSE >=", value, "borPurpose");
            return (Criteria) this;
        }

        public Criteria andBorPurposeLessThan(String value) {
            addCriterion("BOR_PURPOSE <", value, "borPurpose");
            return (Criteria) this;
        }

        public Criteria andBorPurposeLessThanOrEqualTo(String value) {
            addCriterion("BOR_PURPOSE <=", value, "borPurpose");
            return (Criteria) this;
        }

        public Criteria andBorPurposeLike(String value) {
            addCriterion("BOR_PURPOSE like", value, "borPurpose");
            return (Criteria) this;
        }

        public Criteria andBorPurposeNotLike(String value) {
            addCriterion("BOR_PURPOSE not like", value, "borPurpose");
            return (Criteria) this;
        }

        public Criteria andBorPurposeIn(List<String> values) {
            addCriterion("BOR_PURPOSE in", values, "borPurpose");
            return (Criteria) this;
        }

        public Criteria andBorPurposeNotIn(List<String> values) {
            addCriterion("BOR_PURPOSE not in", values, "borPurpose");
            return (Criteria) this;
        }

        public Criteria andBorPurposeBetween(String value1, String value2) {
            addCriterion("BOR_PURPOSE between", value1, value2, "borPurpose");
            return (Criteria) this;
        }

        public Criteria andBorPurposeNotBetween(String value1, String value2) {
            addCriterion("BOR_PURPOSE not between", value1, value2, "borPurpose");
            return (Criteria) this;
        }

        public Criteria andRenewPurposeIsNull() {
            addCriterion("RENEW_PURPOSE is null");
            return (Criteria) this;
        }

        public Criteria andRenewPurposeIsNotNull() {
            addCriterion("RENEW_PURPOSE is not null");
            return (Criteria) this;
        }

        public Criteria andRenewPurposeEqualTo(String value) {
            addCriterion("RENEW_PURPOSE =", value, "renewPurpose");
            return (Criteria) this;
        }

        public Criteria andRenewPurposeNotEqualTo(String value) {
            addCriterion("RENEW_PURPOSE <>", value, "renewPurpose");
            return (Criteria) this;
        }

        public Criteria andRenewPurposeGreaterThan(String value) {
            addCriterion("RENEW_PURPOSE >", value, "renewPurpose");
            return (Criteria) this;
        }

        public Criteria andRenewPurposeGreaterThanOrEqualTo(String value) {
            addCriterion("RENEW_PURPOSE >=", value, "renewPurpose");
            return (Criteria) this;
        }

        public Criteria andRenewPurposeLessThan(String value) {
            addCriterion("RENEW_PURPOSE <", value, "renewPurpose");
            return (Criteria) this;
        }

        public Criteria andRenewPurposeLessThanOrEqualTo(String value) {
            addCriterion("RENEW_PURPOSE <=", value, "renewPurpose");
            return (Criteria) this;
        }

        public Criteria andRenewPurposeLike(String value) {
            addCriterion("RENEW_PURPOSE like", value, "renewPurpose");
            return (Criteria) this;
        }

        public Criteria andRenewPurposeNotLike(String value) {
            addCriterion("RENEW_PURPOSE not like", value, "renewPurpose");
            return (Criteria) this;
        }

        public Criteria andRenewPurposeIn(List<String> values) {
            addCriterion("RENEW_PURPOSE in", values, "renewPurpose");
            return (Criteria) this;
        }

        public Criteria andRenewPurposeNotIn(List<String> values) {
            addCriterion("RENEW_PURPOSE not in", values, "renewPurpose");
            return (Criteria) this;
        }

        public Criteria andRenewPurposeBetween(String value1, String value2) {
            addCriterion("RENEW_PURPOSE between", value1, value2, "renewPurpose");
            return (Criteria) this;
        }

        public Criteria andRenewPurposeNotBetween(String value1, String value2) {
            addCriterion("RENEW_PURPOSE not between", value1, value2, "renewPurpose");
            return (Criteria) this;
        }

        public Criteria andRenewTimesIsNull() {
            addCriterion("RENEW_TIMES is null");
            return (Criteria) this;
        }

        public Criteria andRenewTimesIsNotNull() {
            addCriterion("RENEW_TIMES is not null");
            return (Criteria) this;
        }

        public Criteria andRenewTimesEqualTo(Long value) {
            addCriterion("RENEW_TIMES =", value, "renewTimes");
            return (Criteria) this;
        }

        public Criteria andRenewTimesNotEqualTo(Long value) {
            addCriterion("RENEW_TIMES <>", value, "renewTimes");
            return (Criteria) this;
        }

        public Criteria andRenewTimesGreaterThan(Long value) {
            addCriterion("RENEW_TIMES >", value, "renewTimes");
            return (Criteria) this;
        }

        public Criteria andRenewTimesGreaterThanOrEqualTo(Long value) {
            addCriterion("RENEW_TIMES >=", value, "renewTimes");
            return (Criteria) this;
        }

        public Criteria andRenewTimesLessThan(Long value) {
            addCriterion("RENEW_TIMES <", value, "renewTimes");
            return (Criteria) this;
        }

        public Criteria andRenewTimesLessThanOrEqualTo(Long value) {
            addCriterion("RENEW_TIMES <=", value, "renewTimes");
            return (Criteria) this;
        }

        public Criteria andRenewTimesIn(List<Long> values) {
            addCriterion("RENEW_TIMES in", values, "renewTimes");
            return (Criteria) this;
        }

        public Criteria andRenewTimesNotIn(List<Long> values) {
            addCriterion("RENEW_TIMES not in", values, "renewTimes");
            return (Criteria) this;
        }

        public Criteria andRenewTimesBetween(Long value1, Long value2) {
            addCriterion("RENEW_TIMES between", value1, value2, "renewTimes");
            return (Criteria) this;
        }

        public Criteria andRenewTimesNotBetween(Long value1, Long value2) {
            addCriterion("RENEW_TIMES not between", value1, value2, "renewTimes");
            return (Criteria) this;
        }

        public Criteria andBorAttestUrlIsNull() {
            addCriterion("BOR_ATTEST_URL is null");
            return (Criteria) this;
        }

        public Criteria andBorAttestUrlIsNotNull() {
            addCriterion("BOR_ATTEST_URL is not null");
            return (Criteria) this;
        }

        public Criteria andBorAttestUrlEqualTo(String value) {
            addCriterion("BOR_ATTEST_URL =", value, "borAttestUrl");
            return (Criteria) this;
        }

        public Criteria andBorAttestUrlNotEqualTo(String value) {
            addCriterion("BOR_ATTEST_URL <>", value, "borAttestUrl");
            return (Criteria) this;
        }

        public Criteria andBorAttestUrlGreaterThan(String value) {
            addCriterion("BOR_ATTEST_URL >", value, "borAttestUrl");
            return (Criteria) this;
        }

        public Criteria andBorAttestUrlGreaterThanOrEqualTo(String value) {
            addCriterion("BOR_ATTEST_URL >=", value, "borAttestUrl");
            return (Criteria) this;
        }

        public Criteria andBorAttestUrlLessThan(String value) {
            addCriterion("BOR_ATTEST_URL <", value, "borAttestUrl");
            return (Criteria) this;
        }

        public Criteria andBorAttestUrlLessThanOrEqualTo(String value) {
            addCriterion("BOR_ATTEST_URL <=", value, "borAttestUrl");
            return (Criteria) this;
        }

        public Criteria andBorAttestUrlLike(String value) {
            addCriterion("BOR_ATTEST_URL like", value, "borAttestUrl");
            return (Criteria) this;
        }

        public Criteria andBorAttestUrlNotLike(String value) {
            addCriterion("BOR_ATTEST_URL not like", value, "borAttestUrl");
            return (Criteria) this;
        }

        public Criteria andBorAttestUrlIn(List<String> values) {
            addCriterion("BOR_ATTEST_URL in", values, "borAttestUrl");
            return (Criteria) this;
        }

        public Criteria andBorAttestUrlNotIn(List<String> values) {
            addCriterion("BOR_ATTEST_URL not in", values, "borAttestUrl");
            return (Criteria) this;
        }

        public Criteria andBorAttestUrlBetween(String value1, String value2) {
            addCriterion("BOR_ATTEST_URL between", value1, value2, "borAttestUrl");
            return (Criteria) this;
        }

        public Criteria andBorAttestUrlNotBetween(String value1, String value2) {
            addCriterion("BOR_ATTEST_URL not between", value1, value2, "borAttestUrl");
            return (Criteria) this;
        }

        public Criteria andBorTimeIsNull() {
            addCriterion("BOR_TIME is null");
            return (Criteria) this;
        }

        public Criteria andBorTimeIsNotNull() {
            addCriterion("BOR_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andBorTimeEqualTo(Date value) {
            addCriterionForJDBCDate("BOR_TIME =", value, "borTime");
            return (Criteria) this;
        }

        public Criteria andBorTimeNotEqualTo(Date value) {
            addCriterionForJDBCDate("BOR_TIME <>", value, "borTime");
            return (Criteria) this;
        }

        public Criteria andBorTimeGreaterThan(Date value) {
            addCriterionForJDBCDate("BOR_TIME >", value, "borTime");
            return (Criteria) this;
        }

        public Criteria andBorTimeGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("BOR_TIME >=", value, "borTime");
            return (Criteria) this;
        }

        public Criteria andBorTimeLessThan(Date value) {
            addCriterionForJDBCDate("BOR_TIME <", value, "borTime");
            return (Criteria) this;
        }

        public Criteria andBorTimeLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("BOR_TIME <=", value, "borTime");
            return (Criteria) this;
        }

        public Criteria andBorTimeIn(List<Date> values) {
            addCriterionForJDBCDate("BOR_TIME in", values, "borTime");
            return (Criteria) this;
        }

        public Criteria andBorTimeNotIn(List<Date> values) {
            addCriterionForJDBCDate("BOR_TIME not in", values, "borTime");
            return (Criteria) this;
        }

        public Criteria andBorTimeBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("BOR_TIME between", value1, value2, "borTime");
            return (Criteria) this;
        }

        public Criteria andBorTimeNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("BOR_TIME not between", value1, value2, "borTime");
            return (Criteria) this;
        }

        public Criteria andPlanReturnTimeIsNull() {
            addCriterion("PLAN_RETURN_TIME is null");
            return (Criteria) this;
        }

        public Criteria andPlanReturnTimeIsNotNull() {
            addCriterion("PLAN_RETURN_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andPlanReturnTimeEqualTo(Date value) {
            addCriterionForJDBCDate("PLAN_RETURN_TIME =", value, "planReturnTime");
            return (Criteria) this;
        }

        public Criteria andPlanReturnTimeNotEqualTo(Date value) {
            addCriterionForJDBCDate("PLAN_RETURN_TIME <>", value, "planReturnTime");
            return (Criteria) this;
        }

        public Criteria andPlanReturnTimeGreaterThan(Date value) {
            addCriterionForJDBCDate("PLAN_RETURN_TIME >", value, "planReturnTime");
            return (Criteria) this;
        }

        public Criteria andPlanReturnTimeGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("PLAN_RETURN_TIME >=", value, "planReturnTime");
            return (Criteria) this;
        }

        public Criteria andPlanReturnTimeLessThan(Date value) {
            addCriterionForJDBCDate("PLAN_RETURN_TIME <", value, "planReturnTime");
            return (Criteria) this;
        }

        public Criteria andPlanReturnTimeLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("PLAN_RETURN_TIME <=", value, "planReturnTime");
            return (Criteria) this;
        }

        public Criteria andPlanReturnTimeIn(List<Date> values) {
            addCriterionForJDBCDate("PLAN_RETURN_TIME in", values, "planReturnTime");
            return (Criteria) this;
        }

        public Criteria andPlanReturnTimeNotIn(List<Date> values) {
            addCriterionForJDBCDate("PLAN_RETURN_TIME not in", values, "planReturnTime");
            return (Criteria) this;
        }

        public Criteria andPlanReturnTimeBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("PLAN_RETURN_TIME between", value1, value2, "planReturnTime");
            return (Criteria) this;
        }

        public Criteria andPlanReturnTimeNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("PLAN_RETURN_TIME not between", value1, value2, "planReturnTime");
            return (Criteria) this;
        }

        public Criteria andReturnTimeIsNull() {
            addCriterion("RETURN_TIME is null");
            return (Criteria) this;
        }

        public Criteria andReturnTimeIsNotNull() {
            addCriterion("RETURN_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andReturnTimeEqualTo(Date value) {
            addCriterionForJDBCDate("RETURN_TIME =", value, "returnTime");
            return (Criteria) this;
        }

        public Criteria andReturnTimeNotEqualTo(Date value) {
            addCriterionForJDBCDate("RETURN_TIME <>", value, "returnTime");
            return (Criteria) this;
        }

        public Criteria andReturnTimeGreaterThan(Date value) {
            addCriterionForJDBCDate("RETURN_TIME >", value, "returnTime");
            return (Criteria) this;
        }

        public Criteria andReturnTimeGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("RETURN_TIME >=", value, "returnTime");
            return (Criteria) this;
        }

        public Criteria andReturnTimeLessThan(Date value) {
            addCriterionForJDBCDate("RETURN_TIME <", value, "returnTime");
            return (Criteria) this;
        }

        public Criteria andReturnTimeLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("RETURN_TIME <=", value, "returnTime");
            return (Criteria) this;
        }

        public Criteria andReturnTimeIn(List<Date> values) {
            addCriterionForJDBCDate("RETURN_TIME in", values, "returnTime");
            return (Criteria) this;
        }

        public Criteria andReturnTimeNotIn(List<Date> values) {
            addCriterionForJDBCDate("RETURN_TIME not in", values, "returnTime");
            return (Criteria) this;
        }

        public Criteria andReturnTimeBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("RETURN_TIME between", value1, value2, "returnTime");
            return (Criteria) this;
        }

        public Criteria andReturnTimeNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("RETURN_TIME not between", value1, value2, "returnTime");
            return (Criteria) this;
        }

        public Criteria andIsSendEmailIsNull() {
            addCriterion("IS_SEND_EMAIL is null");
            return (Criteria) this;
        }

        public Criteria andIsSendEmailIsNotNull() {
            addCriterion("IS_SEND_EMAIL is not null");
            return (Criteria) this;
        }

        public Criteria andIsSendEmailEqualTo(Long value) {
            addCriterion("IS_SEND_EMAIL =", value, "isSendEmail");
            return (Criteria) this;
        }

        public Criteria andIsSendEmailNotEqualTo(Long value) {
            addCriterion("IS_SEND_EMAIL <>", value, "isSendEmail");
            return (Criteria) this;
        }

        public Criteria andIsSendEmailGreaterThan(Long value) {
            addCriterion("IS_SEND_EMAIL >", value, "isSendEmail");
            return (Criteria) this;
        }

        public Criteria andIsSendEmailGreaterThanOrEqualTo(Long value) {
            addCriterion("IS_SEND_EMAIL >=", value, "isSendEmail");
            return (Criteria) this;
        }

        public Criteria andIsSendEmailLessThan(Long value) {
            addCriterion("IS_SEND_EMAIL <", value, "isSendEmail");
            return (Criteria) this;
        }

        public Criteria andIsSendEmailLessThanOrEqualTo(Long value) {
            addCriterion("IS_SEND_EMAIL <=", value, "isSendEmail");
            return (Criteria) this;
        }

        public Criteria andIsSendEmailIn(List<Long> values) {
            addCriterion("IS_SEND_EMAIL in", values, "isSendEmail");
            return (Criteria) this;
        }

        public Criteria andIsSendEmailNotIn(List<Long> values) {
            addCriterion("IS_SEND_EMAIL not in", values, "isSendEmail");
            return (Criteria) this;
        }

        public Criteria andIsSendEmailBetween(Long value1, Long value2) {
            addCriterion("IS_SEND_EMAIL between", value1, value2, "isSendEmail");
            return (Criteria) this;
        }

        public Criteria andIsSendEmailNotBetween(Long value1, Long value2) {
            addCriterion("IS_SEND_EMAIL not between", value1, value2, "isSendEmail");
            return (Criteria) this;
        }

        public Criteria andReturnDescriptionIsNull() {
            addCriterion("RETURN_DESCRIPTION is null");
            return (Criteria) this;
        }

        public Criteria andReturnDescriptionIsNotNull() {
            addCriterion("RETURN_DESCRIPTION is not null");
            return (Criteria) this;
        }

        public Criteria andReturnDescriptionEqualTo(String value) {
            addCriterion("RETURN_DESCRIPTION =", value, "returnDescription");
            return (Criteria) this;
        }

        public Criteria andReturnDescriptionNotEqualTo(String value) {
            addCriterion("RETURN_DESCRIPTION <>", value, "returnDescription");
            return (Criteria) this;
        }

        public Criteria andReturnDescriptionGreaterThan(String value) {
            addCriterion("RETURN_DESCRIPTION >", value, "returnDescription");
            return (Criteria) this;
        }

        public Criteria andReturnDescriptionGreaterThanOrEqualTo(String value) {
            addCriterion("RETURN_DESCRIPTION >=", value, "returnDescription");
            return (Criteria) this;
        }

        public Criteria andReturnDescriptionLessThan(String value) {
            addCriterion("RETURN_DESCRIPTION <", value, "returnDescription");
            return (Criteria) this;
        }

        public Criteria andReturnDescriptionLessThanOrEqualTo(String value) {
            addCriterion("RETURN_DESCRIPTION <=", value, "returnDescription");
            return (Criteria) this;
        }

        public Criteria andReturnDescriptionLike(String value) {
            addCriterion("RETURN_DESCRIPTION like", value, "returnDescription");
            return (Criteria) this;
        }

        public Criteria andReturnDescriptionNotLike(String value) {
            addCriterion("RETURN_DESCRIPTION not like", value, "returnDescription");
            return (Criteria) this;
        }

        public Criteria andReturnDescriptionIn(List<String> values) {
            addCriterion("RETURN_DESCRIPTION in", values, "returnDescription");
            return (Criteria) this;
        }

        public Criteria andReturnDescriptionNotIn(List<String> values) {
            addCriterion("RETURN_DESCRIPTION not in", values, "returnDescription");
            return (Criteria) this;
        }

        public Criteria andReturnDescriptionBetween(String value1, String value2) {
            addCriterion("RETURN_DESCRIPTION between", value1, value2, "returnDescription");
            return (Criteria) this;
        }

        public Criteria andReturnDescriptionNotBetween(String value1, String value2) {
            addCriterion("RETURN_DESCRIPTION not between", value1, value2, "returnDescription");
            return (Criteria) this;
        }

        public Criteria andPunishmentsDescriptionIsNull() {
            addCriterion("PUNISHMENTS_DESCRIPTION is null");
            return (Criteria) this;
        }

        public Criteria andPunishmentsDescriptionIsNotNull() {
            addCriterion("PUNISHMENTS_DESCRIPTION is not null");
            return (Criteria) this;
        }

        public Criteria andPunishmentsDescriptionEqualTo(String value) {
            addCriterion("PUNISHMENTS_DESCRIPTION =", value, "punishmentsDescription");
            return (Criteria) this;
        }

        public Criteria andPunishmentsDescriptionNotEqualTo(String value) {
            addCriterion("PUNISHMENTS_DESCRIPTION <>", value, "punishmentsDescription");
            return (Criteria) this;
        }

        public Criteria andPunishmentsDescriptionGreaterThan(String value) {
            addCriterion("PUNISHMENTS_DESCRIPTION >", value, "punishmentsDescription");
            return (Criteria) this;
        }

        public Criteria andPunishmentsDescriptionGreaterThanOrEqualTo(String value) {
            addCriterion("PUNISHMENTS_DESCRIPTION >=", value, "punishmentsDescription");
            return (Criteria) this;
        }

        public Criteria andPunishmentsDescriptionLessThan(String value) {
            addCriterion("PUNISHMENTS_DESCRIPTION <", value, "punishmentsDescription");
            return (Criteria) this;
        }

        public Criteria andPunishmentsDescriptionLessThanOrEqualTo(String value) {
            addCriterion("PUNISHMENTS_DESCRIPTION <=", value, "punishmentsDescription");
            return (Criteria) this;
        }

        public Criteria andPunishmentsDescriptionLike(String value) {
            addCriterion("PUNISHMENTS_DESCRIPTION like", value, "punishmentsDescription");
            return (Criteria) this;
        }

        public Criteria andPunishmentsDescriptionNotLike(String value) {
            addCriterion("PUNISHMENTS_DESCRIPTION not like", value, "punishmentsDescription");
            return (Criteria) this;
        }

        public Criteria andPunishmentsDescriptionIn(List<String> values) {
            addCriterion("PUNISHMENTS_DESCRIPTION in", values, "punishmentsDescription");
            return (Criteria) this;
        }

        public Criteria andPunishmentsDescriptionNotIn(List<String> values) {
            addCriterion("PUNISHMENTS_DESCRIPTION not in", values, "punishmentsDescription");
            return (Criteria) this;
        }

        public Criteria andPunishmentsDescriptionBetween(String value1, String value2) {
            addCriterion("PUNISHMENTS_DESCRIPTION between", value1, value2, "punishmentsDescription");
            return (Criteria) this;
        }

        public Criteria andPunishmentsDescriptionNotBetween(String value1, String value2) {
            addCriterion("PUNISHMENTS_DESCRIPTION not between", value1, value2, "punishmentsDescription");
            return (Criteria) this;
        }

        public Criteria andFileTypeIsNull() {
            addCriterion("FILE_TYPE is null");
            return (Criteria) this;
        }

        public Criteria andFileTypeIsNotNull() {
            addCriterion("FILE_TYPE is not null");
            return (Criteria) this;
        }

        public Criteria andFileTypeEqualTo(String value) {
            addCriterion("FILE_TYPE =", value, "fileType");
            return (Criteria) this;
        }

        public Criteria andFileTypeNotEqualTo(String value) {
            addCriterion("FILE_TYPE <>", value, "fileType");
            return (Criteria) this;
        }

        public Criteria andFileTypeGreaterThan(String value) {
            addCriterion("FILE_TYPE >", value, "fileType");
            return (Criteria) this;
        }

        public Criteria andFileTypeGreaterThanOrEqualTo(String value) {
            addCriterion("FILE_TYPE >=", value, "fileType");
            return (Criteria) this;
        }

        public Criteria andFileTypeLessThan(String value) {
            addCriterion("FILE_TYPE <", value, "fileType");
            return (Criteria) this;
        }

        public Criteria andFileTypeLessThanOrEqualTo(String value) {
            addCriterion("FILE_TYPE <=", value, "fileType");
            return (Criteria) this;
        }

        public Criteria andFileTypeLike(String value) {
            addCriterion("FILE_TYPE like", value, "fileType");
            return (Criteria) this;
        }

        public Criteria andFileTypeNotLike(String value) {
            addCriterion("FILE_TYPE not like", value, "fileType");
            return (Criteria) this;
        }

        public Criteria andFileTypeIn(List<String> values) {
            addCriterion("FILE_TYPE in", values, "fileType");
            return (Criteria) this;
        }

        public Criteria andFileTypeNotIn(List<String> values) {
            addCriterion("FILE_TYPE not in", values, "fileType");
            return (Criteria) this;
        }

        public Criteria andFileTypeBetween(String value1, String value2) {
            addCriterion("FILE_TYPE between", value1, value2, "fileType");
            return (Criteria) this;
        }

        public Criteria andFileTypeNotBetween(String value1, String value2) {
            addCriterion("FILE_TYPE not between", value1, value2, "fileType");
            return (Criteria) this;
        }

        public Criteria andBorStatusIsNull() {
            addCriterion("BOR_STATUS is null");
            return (Criteria) this;
        }

        public Criteria andBorStatusIsNotNull() {
            addCriterion("BOR_STATUS is not null");
            return (Criteria) this;
        }

        public Criteria andBorStatusEqualTo(Integer value) {
            addCriterion("BOR_STATUS =", value, "borStatus");
            return (Criteria) this;
        }

        public Criteria andBorStatusNotEqualTo(Integer value) {
            addCriterion("BOR_STATUS <>", value, "borStatus");
            return (Criteria) this;
        }

        public Criteria andBorStatusGreaterThan(Integer value) {
            addCriterion("BOR_STATUS >", value, "borStatus");
            return (Criteria) this;
        }

        public Criteria andBorStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("BOR_STATUS >=", value, "borStatus");
            return (Criteria) this;
        }

        public Criteria andBorStatusLessThan(Integer value) {
            addCriterion("BOR_STATUS <", value, "borStatus");
            return (Criteria) this;
        }

        public Criteria andBorStatusLessThanOrEqualTo(Integer value) {
            addCriterion("BOR_STATUS <=", value, "borStatus");
            return (Criteria) this;
        }

        public Criteria andBorStatusIn(List<Integer> values) {
            addCriterion("BOR_STATUS in", values, "borStatus");
            return (Criteria) this;
        }

        public Criteria andBorStatusNotIn(List<Integer> values) {
            addCriterion("BOR_STATUS not in", values, "borStatus");
            return (Criteria) this;
        }

        public Criteria andBorStatusBetween(Integer value1, Integer value2) {
            addCriterion("BOR_STATUS between", value1, value2, "borStatus");
            return (Criteria) this;
        }

        public Criteria andBorStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("BOR_STATUS not between", value1, value2, "borStatus");
            return (Criteria) this;
        }

        public Criteria andRenewReturnTimeIsNull() {
            addCriterion("RENEW_RETURN_TIME is null");
            return (Criteria) this;
        }

        public Criteria andRenewReturnTimeIsNotNull() {
            addCriterion("RENEW_RETURN_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andRenewReturnTimeEqualTo(Date value) {
            addCriterionForJDBCDate("RENEW_RETURN_TIME =", value, "renewReturnTime");
            return (Criteria) this;
        }

        public Criteria andRenewReturnTimeNotEqualTo(Date value) {
            addCriterionForJDBCDate("RENEW_RETURN_TIME <>", value, "renewReturnTime");
            return (Criteria) this;
        }

        public Criteria andRenewReturnTimeGreaterThan(Date value) {
            addCriterionForJDBCDate("RENEW_RETURN_TIME >", value, "renewReturnTime");
            return (Criteria) this;
        }

        public Criteria andRenewReturnTimeGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("RENEW_RETURN_TIME >=", value, "renewReturnTime");
            return (Criteria) this;
        }

        public Criteria andRenewReturnTimeLessThan(Date value) {
            addCriterionForJDBCDate("RENEW_RETURN_TIME <", value, "renewReturnTime");
            return (Criteria) this;
        }

        public Criteria andRenewReturnTimeLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("RENEW_RETURN_TIME <=", value, "renewReturnTime");
            return (Criteria) this;
        }

        public Criteria andRenewReturnTimeIn(List<Date> values) {
            addCriterionForJDBCDate("RENEW_RETURN_TIME in", values, "renewReturnTime");
            return (Criteria) this;
        }

        public Criteria andRenewReturnTimeNotIn(List<Date> values) {
            addCriterionForJDBCDate("RENEW_RETURN_TIME not in", values, "renewReturnTime");
            return (Criteria) this;
        }

        public Criteria andRenewReturnTimeBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("RENEW_RETURN_TIME between", value1, value2, "renewReturnTime");
            return (Criteria) this;
        }

        public Criteria andRenewReturnTimeNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("RENEW_RETURN_TIME not between", value1, value2, "renewReturnTime");
            return (Criteria) this;
        }

        public Criteria andExtend1IsNull() {
            addCriterion("EXTEND1 is null");
            return (Criteria) this;
        }

        public Criteria andExtend1IsNotNull() {
            addCriterion("EXTEND1 is not null");
            return (Criteria) this;
        }

        public Criteria andExtend1EqualTo(String value) {
            addCriterion("EXTEND1 =", value, "extend1");
            return (Criteria) this;
        }

        public Criteria andExtend1NotEqualTo(String value) {
            addCriterion("EXTEND1 <>", value, "extend1");
            return (Criteria) this;
        }

        public Criteria andExtend1GreaterThan(String value) {
            addCriterion("EXTEND1 >", value, "extend1");
            return (Criteria) this;
        }

        public Criteria andExtend1GreaterThanOrEqualTo(String value) {
            addCriterion("EXTEND1 >=", value, "extend1");
            return (Criteria) this;
        }

        public Criteria andExtend1LessThan(String value) {
            addCriterion("EXTEND1 <", value, "extend1");
            return (Criteria) this;
        }

        public Criteria andExtend1LessThanOrEqualTo(String value) {
            addCriterion("EXTEND1 <=", value, "extend1");
            return (Criteria) this;
        }

        public Criteria andExtend1Like(String value) {
            addCriterion("EXTEND1 like", value, "extend1");
            return (Criteria) this;
        }

        public Criteria andExtend1NotLike(String value) {
            addCriterion("EXTEND1 not like", value, "extend1");
            return (Criteria) this;
        }

        public Criteria andExtend1In(List<String> values) {
            addCriterion("EXTEND1 in", values, "extend1");
            return (Criteria) this;
        }

        public Criteria andExtend1NotIn(List<String> values) {
            addCriterion("EXTEND1 not in", values, "extend1");
            return (Criteria) this;
        }

        public Criteria andExtend1Between(String value1, String value2) {
            addCriterion("EXTEND1 between", value1, value2, "extend1");
            return (Criteria) this;
        }

        public Criteria andExtend1NotBetween(String value1, String value2) {
            addCriterion("EXTEND1 not between", value1, value2, "extend1");
            return (Criteria) this;
        }

        public Criteria andExtend2IsNull() {
            addCriterion("EXTEND2 is null");
            return (Criteria) this;
        }

        public Criteria andExtend2IsNotNull() {
            addCriterion("EXTEND2 is not null");
            return (Criteria) this;
        }

        public Criteria andExtend2EqualTo(String value) {
            addCriterion("EXTEND2 =", value, "extend2");
            return (Criteria) this;
        }

        public Criteria andExtend2NotEqualTo(String value) {
            addCriterion("EXTEND2 <>", value, "extend2");
            return (Criteria) this;
        }

        public Criteria andExtend2GreaterThan(String value) {
            addCriterion("EXTEND2 >", value, "extend2");
            return (Criteria) this;
        }

        public Criteria andExtend2GreaterThanOrEqualTo(String value) {
            addCriterion("EXTEND2 >=", value, "extend2");
            return (Criteria) this;
        }

        public Criteria andExtend2LessThan(String value) {
            addCriterion("EXTEND2 <", value, "extend2");
            return (Criteria) this;
        }

        public Criteria andExtend2LessThanOrEqualTo(String value) {
            addCriterion("EXTEND2 <=", value, "extend2");
            return (Criteria) this;
        }

        public Criteria andExtend2Like(String value) {
            addCriterion("EXTEND2 like", value, "extend2");
            return (Criteria) this;
        }

        public Criteria andExtend2NotLike(String value) {
            addCriterion("EXTEND2 not like", value, "extend2");
            return (Criteria) this;
        }

        public Criteria andExtend2In(List<String> values) {
            addCriterion("EXTEND2 in", values, "extend2");
            return (Criteria) this;
        }

        public Criteria andExtend2NotIn(List<String> values) {
            addCriterion("EXTEND2 not in", values, "extend2");
            return (Criteria) this;
        }

        public Criteria andExtend2Between(String value1, String value2) {
            addCriterion("EXTEND2 between", value1, value2, "extend2");
            return (Criteria) this;
        }

        public Criteria andExtend2NotBetween(String value1, String value2) {
            addCriterion("EXTEND2 not between", value1, value2, "extend2");
            return (Criteria) this;
        }

        public Criteria andExtend3IsNull() {
            addCriterion("EXTEND3 is null");
            return (Criteria) this;
        }

        public Criteria andExtend3IsNotNull() {
            addCriterion("EXTEND3 is not null");
            return (Criteria) this;
        }

        public Criteria andExtend3EqualTo(String value) {
            addCriterion("EXTEND3 =", value, "extend3");
            return (Criteria) this;
        }

        public Criteria andExtend3NotEqualTo(String value) {
            addCriterion("EXTEND3 <>", value, "extend3");
            return (Criteria) this;
        }

        public Criteria andExtend3GreaterThan(String value) {
            addCriterion("EXTEND3 >", value, "extend3");
            return (Criteria) this;
        }

        public Criteria andExtend3GreaterThanOrEqualTo(String value) {
            addCriterion("EXTEND3 >=", value, "extend3");
            return (Criteria) this;
        }

        public Criteria andExtend3LessThan(String value) {
            addCriterion("EXTEND3 <", value, "extend3");
            return (Criteria) this;
        }

        public Criteria andExtend3LessThanOrEqualTo(String value) {
            addCriterion("EXTEND3 <=", value, "extend3");
            return (Criteria) this;
        }

        public Criteria andExtend3Like(String value) {
            addCriterion("EXTEND3 like", value, "extend3");
            return (Criteria) this;
        }

        public Criteria andExtend3NotLike(String value) {
            addCriterion("EXTEND3 not like", value, "extend3");
            return (Criteria) this;
        }

        public Criteria andExtend3In(List<String> values) {
            addCriterion("EXTEND3 in", values, "extend3");
            return (Criteria) this;
        }

        public Criteria andExtend3NotIn(List<String> values) {
            addCriterion("EXTEND3 not in", values, "extend3");
            return (Criteria) this;
        }

        public Criteria andExtend3Between(String value1, String value2) {
            addCriterion("EXTEND3 between", value1, value2, "extend3");
            return (Criteria) this;
        }

        public Criteria andExtend3NotBetween(String value1, String value2) {
            addCriterion("EXTEND3 not between", value1, value2, "extend3");
            return (Criteria) this;
        }

        public Criteria andExtend4IsNull() {
            addCriterion("EXTEND4 is null");
            return (Criteria) this;
        }

        public Criteria andExtend4IsNotNull() {
            addCriterion("EXTEND4 is not null");
            return (Criteria) this;
        }

        public Criteria andExtend4EqualTo(String value) {
            addCriterion("EXTEND4 =", value, "extend4");
            return (Criteria) this;
        }

        public Criteria andExtend4NotEqualTo(String value) {
            addCriterion("EXTEND4 <>", value, "extend4");
            return (Criteria) this;
        }

        public Criteria andExtend4GreaterThan(String value) {
            addCriterion("EXTEND4 >", value, "extend4");
            return (Criteria) this;
        }

        public Criteria andExtend4GreaterThanOrEqualTo(String value) {
            addCriterion("EXTEND4 >=", value, "extend4");
            return (Criteria) this;
        }

        public Criteria andExtend4LessThan(String value) {
            addCriterion("EXTEND4 <", value, "extend4");
            return (Criteria) this;
        }

        public Criteria andExtend4LessThanOrEqualTo(String value) {
            addCriterion("EXTEND4 <=", value, "extend4");
            return (Criteria) this;
        }

        public Criteria andExtend4Like(String value) {
            addCriterion("EXTEND4 like", value, "extend4");
            return (Criteria) this;
        }

        public Criteria andExtend4NotLike(String value) {
            addCriterion("EXTEND4 not like", value, "extend4");
            return (Criteria) this;
        }

        public Criteria andExtend4In(List<String> values) {
            addCriterion("EXTEND4 in", values, "extend4");
            return (Criteria) this;
        }

        public Criteria andExtend4NotIn(List<String> values) {
            addCriterion("EXTEND4 not in", values, "extend4");
            return (Criteria) this;
        }

        public Criteria andExtend4Between(String value1, String value2) {
            addCriterion("EXTEND4 between", value1, value2, "extend4");
            return (Criteria) this;
        }

        public Criteria andExtend4NotBetween(String value1, String value2) {
            addCriterion("EXTEND4 not between", value1, value2, "extend4");
            return (Criteria) this;
        }

        public Criteria andExtend5IsNull() {
            addCriterion("EXTEND5 is null");
            return (Criteria) this;
        }

        public Criteria andExtend5IsNotNull() {
            addCriterion("EXTEND5 is not null");
            return (Criteria) this;
        }

        public Criteria andExtend5EqualTo(String value) {
            addCriterion("EXTEND5 =", value, "extend5");
            return (Criteria) this;
        }

        public Criteria andExtend5NotEqualTo(String value) {
            addCriterion("EXTEND5 <>", value, "extend5");
            return (Criteria) this;
        }

        public Criteria andExtend5GreaterThan(String value) {
            addCriterion("EXTEND5 >", value, "extend5");
            return (Criteria) this;
        }

        public Criteria andExtend5GreaterThanOrEqualTo(String value) {
            addCriterion("EXTEND5 >=", value, "extend5");
            return (Criteria) this;
        }

        public Criteria andExtend5LessThan(String value) {
            addCriterion("EXTEND5 <", value, "extend5");
            return (Criteria) this;
        }

        public Criteria andExtend5LessThanOrEqualTo(String value) {
            addCriterion("EXTEND5 <=", value, "extend5");
            return (Criteria) this;
        }

        public Criteria andExtend5Like(String value) {
            addCriterion("EXTEND5 like", value, "extend5");
            return (Criteria) this;
        }

        public Criteria andExtend5NotLike(String value) {
            addCriterion("EXTEND5 not like", value, "extend5");
            return (Criteria) this;
        }

        public Criteria andExtend5In(List<String> values) {
            addCriterion("EXTEND5 in", values, "extend5");
            return (Criteria) this;
        }

        public Criteria andExtend5NotIn(List<String> values) {
            addCriterion("EXTEND5 not in", values, "extend5");
            return (Criteria) this;
        }

        public Criteria andExtend5Between(String value1, String value2) {
            addCriterion("EXTEND5 between", value1, value2, "extend5");
            return (Criteria) this;
        }

        public Criteria andExtend5NotBetween(String value1, String value2) {
            addCriterion("EXTEND5 not between", value1, value2, "extend5");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("CREATE_TIME is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("CREATE_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterionForJDBCDate("CREATE_TIME =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterionForJDBCDate("CREATE_TIME <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterionForJDBCDate("CREATE_TIME >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("CREATE_TIME >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterionForJDBCDate("CREATE_TIME <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("CREATE_TIME <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterionForJDBCDate("CREATE_TIME in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterionForJDBCDate("CREATE_TIME not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("CREATE_TIME between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("CREATE_TIME not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("UPDATE_TIME is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("UPDATE_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterionForJDBCDate("UPDATE_TIME =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterionForJDBCDate("UPDATE_TIME <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterionForJDBCDate("UPDATE_TIME >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("UPDATE_TIME >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterionForJDBCDate("UPDATE_TIME <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("UPDATE_TIME <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterionForJDBCDate("UPDATE_TIME in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterionForJDBCDate("UPDATE_TIME not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("UPDATE_TIME between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("UPDATE_TIME not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andTaskTypeIsNull() {
            addCriterion("TASK_TYPE is null");
            return (Criteria) this;
        }

        public Criteria andTaskTypeIsNotNull() {
            addCriterion("TASK_TYPE is not null");
            return (Criteria) this;
        }

        public Criteria andTaskTypeEqualTo(Integer value) {
            addCriterion("TASK_TYPE =", value, "taskType");
            return (Criteria) this;
        }

        public Criteria andTaskTypeNotEqualTo(Integer value) {
            addCriterion("TASK_TYPE <>", value, "taskType");
            return (Criteria) this;
        }

        public Criteria andTaskTypeGreaterThan(Integer value) {
            addCriterion("TASK_TYPE >", value, "taskType");
            return (Criteria) this;
        }

        public Criteria andTaskTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("TASK_TYPE >=", value, "taskType");
            return (Criteria) this;
        }

        public Criteria andTaskTypeLessThan(Integer value) {
            addCriterion("TASK_TYPE <", value, "taskType");
            return (Criteria) this;
        }

        public Criteria andTaskTypeLessThanOrEqualTo(Integer value) {
            addCriterion("TASK_TYPE <=", value, "taskType");
            return (Criteria) this;
        }

        public Criteria andTaskTypeIn(List<Integer> values) {
            addCriterion("TASK_TYPE in", values, "taskType");
            return (Criteria) this;
        }

        public Criteria andTaskTypeNotIn(List<Integer> values) {
            addCriterion("TASK_TYPE not in", values, "taskType");
            return (Criteria) this;
        }

        public Criteria andTaskTypeBetween(Integer value1, Integer value2) {
            addCriterion("TASK_TYPE between", value1, value2, "taskType");
            return (Criteria) this;
        }

        public Criteria andTaskTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("TASK_TYPE not between", value1, value2, "taskType");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}